package com.cloudbroker.bcs.platform.dav.middle.dao;

import com.cloudbroker.bcs.platform.dav.middle.dao.base.TenantDAOBase;
import com.cloudbroker.bcs.platform.dav.middle.entity.MassMessage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by wangxu13798 on 2016/7/27.
 */
public interface MassMessageDao extends TenantDAOBase<MassMessage, String> {
    public Integer getCount(@Param("broker_id") Long broker_id, @Param("tenant_id") Integer tenant_id);

    public List<MassMessage> getAllByBroker(@Param("broker_id") Long broker_id, @Param("tenant_id") Integer tenant_id,@Param("page_no") Integer page_no,@Param("page_size") Integer page_size);
}
